package com.it.tydic.estate.module.model.inner;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tb_move_out")
public class TbMoveOut {
    /**
     * id
     */
    @Id
    @Column(name = "UID")
    private String uid;

    /**
     * 档案
     */
    @Column(name = "PROFILE_ID")
    private String profileId;

    /**
     * 迁入id
     */
    @Column(name = "MOVEIN_ID")
    private String moveinId;

    /**
     * 房间id
     */
    @Column(name = "ROOM_ID")
    private String roomId;

    /**
     * 上次迁入日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "LAST_MOVE_DATE")
    private Date lastMoveDate;

    /**
     * 迁入后服务对象
     */
    @Column(name = "MOVE_OUT_OBJ")
    private String moveOutObj;

    /**
     * 迁出日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "MOVE_OUT_DATE")
    private Date moveOutDate;

    /**
     * 迁出后房间状态
     */
    @Column(name = "MOVE_OUT_RO0M_TYPE")
    private String moveOutRoomType;

    /**
     * 账号余额
     */
    @Column(name = "MOENY")
    private String moeny;

    /**
     * 备注
     */
    @Column(name = "BZ")
    private String bz;

    /**
     * 用户id
     */
    @Column(name = "CODE_ID")
    private String codeId;

    @Column(name = "OPERATOR")
    private String operator;
    /**
     * 修改时间
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "UPDATETIME")
    private Date updateTime;

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取id
     *
     * @return UID - id
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置id
     *
     * @param uid id
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取档案
     *
     * @return PROFILE_ID - 档案
     */
    public String getProfileId() {
        return profileId;
    }

    /**
     * 设置档案
     *
     * @param profileId 档案
     */
    public void setProfileId(String profileId) {
        this.profileId = profileId;
    }

    /**
     * 获取迁入id
     *
     * @return MOVEIN_ID - 迁入id
     */
    public String getMoveinId() {
        return moveinId;
    }

    /**
     * 设置迁入id
     *
     * @param moveinId 迁入id
     */
    public void setMoveinId(String moveinId) {
        this.moveinId = moveinId;
    }

    /**
     * 获取房间id
     *
     * @return ROOM_ID - 房间id
     */
    public String getRoomId() {
        return roomId;
    }

    /**
     * 设置房间id
     *
     * @param roomId 房间id
     */
    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    /**
     * 获取上次迁入日期
     *
     * @return LAST_MOVE_DATE - 上次迁入日期
     */
    public Date getLastMoveDate() {
        return lastMoveDate;
    }

    /**
     * 设置上次迁入日期
     *
     * @param lastMoveDate 上次迁入日期
     */
    public void setLastMoveDate(Date lastMoveDate) {
        this.lastMoveDate = lastMoveDate;
    }

    /**
     * 获取迁入后服务对象
     *
     * @return MOVE_OUT_OBJ - 迁入后服务对象
     */
    public String getMoveOutObj() {
        return moveOutObj;
    }

    /**
     * 设置迁入后服务对象
     *
     * @param moveOutObj 迁入后服务对象
     */
    public void setMoveOutObj(String moveOutObj) {
        this.moveOutObj = moveOutObj;
    }

    /**
     * 获取迁出日期
     *
     * @return MOVE_OUT_DATE - 迁出日期
     */
    public Date getMoveOutDate() {
        return moveOutDate;
    }

    /**
     * 设置迁出日期
     *
     * @param moveOutDate 迁出日期
     */
    public void setMoveOutDate(Date moveOutDate) {
        this.moveOutDate = moveOutDate;
    }

    /**
     * 获取迁出后房间状态
     *
     * @return MOVE_OUT_RO0_TYPE - 迁出后房间状态
     */
    public String getMoveOutRoomType() {
        return moveOutRoomType;
    }

    /**
     * 设置迁出后房间状态
     *
     * @param moveOutRoomType 迁出后房间状态
     */
    public void setMoveOutRoomType(String moveOutRoomType) {
        this.moveOutRoomType = moveOutRoomType;
    }

    /**
     * 获取账号余额
     *
     * @return MOENY - 账号余额
     */
    public String getMoeny() {
        return moeny;
    }

    /**
     * 设置账号余额
     *
     * @param moeny 账号余额
     */
    public void setMoeny(String moeny) {
        this.moeny = moeny;
    }

    /**
     * 获取备注
     *
     * @return BZ - 备注
     */
    public String getBz() {
        return bz;
    }

    /**
     * 设置备注
     *
     * @param bz 备注
     */
    public void setBz(String bz) {
        this.bz = bz;
    }

    /**
     * 获取用户id
     *
     * @return CODE_ID - 用户id
     */
    public String getCodeId() {
        return codeId;
    }

    /**
     * 设置用户id
     *
     * @param codeId 用户id
     */
    public void setCodeId(String codeId) {
        this.codeId = codeId;
    }
}